package mn.idax.exchange.otc.domain;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther: shihaming
 * @Date: 2018/08/06
 * @Description:
 */
@Data
@ApiModel(value = "OTCBeneficiarysRequest", description = "收款账号信息")
public class OTCBeneficiarysRequest implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键ID,新增时不传，修改时必传")
	private Integer id;

//	@ApiModelProperty(value = "用户Id")
//	@NotNull(message = "{bf.userid.notempty}")
//	private Integer userid;


	@ApiModelProperty(value = "交易方式类型：1-支付宝 2-微信 3-银行，创建时传入，修改时不传（类型不能修改）")
	@NotNull(message = "{bf.dictitemid.notempty}")
    private Integer dictitemid;

	@ApiModelProperty(value = "收款账号")
	@NotEmpty(message = "{bf.account.notempty}")
    private String account;

	@ApiModelProperty(value = "收款名称")
//	@NotEmpty(message = "{bf.name.notempty}")
    private String name;
	
	@ApiModelProperty(value = "银行名称")
//	@NotEmpty(message = "{bf.bankname.notempty}")
    private String bankname;

	@ApiModelProperty(value = "支行名称")
//	@NotEmpty(message = "{bf.subbranchbankname.notempty}")
    private String subbranchbankname;
	
	@ApiModelProperty(value = "图片地址")
//	@NotEmpty(message = "{bf.attachmenturl.notempty}")
    private String attachmenturl;
	
//	@ApiModelProperty(value = "是否展示在订单页面")
//	@NotEmpty(message = "{bf.isdisplay.notempty}")
//	private Boolean isdisplay;

	@ApiModelProperty(value = "登录密码")
//	@NotEmpty(message = "{bf.attachmenturl.notempty}")
	private String password;
	
}